home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
MENU_UTL
/
MC01
/
MC01.DOC
< prev
next >
Wrap
Text File
|
1994-05-12
|
5KB
|
129 lines
MENUCASE 1.0
Copyright 1993, 1994
Registration donation $10.00
Written by: John Barry Iozia
D/B/A JayBari Software
464A Liberty Street Apt. 104
Little Ferry, New Jersey 07643
MenuCase 1.0 is a case tool which will allow you to create and test Turbo
Vision menus using a Turbo Vision interface which works much like
Borland's Resource Workshop for Windows. The documentation will assume that
you are familiar with Turbo Vision, know how to use a mouse, and hate to
code Turbo Vision menus.
What's new since the beta version
**** Data fields change with list focus ****
In the prior version it was necessary to press enter or
double click on the list box item to bring the menu item's
data into the data entry fields. This has been changed to
match the functionality of the Borland Resource Workshop.
**** 60% smaller menu files *****
MC00 TVM files are NOT compatible with MC01. The menu file will be
converted if requested, and a new file will be created with the .TV1
extension. I reduced the string lengths of the input fields to a
practical length. The TVM file for MC00 was 59049 bytes, for
MC01 the TV1 file is 14924 bytes.
**** Port your menus to Windows ****
Load Windows 3.x RC MENU text files
Save a TV1 file as a RC text file
Write the RC file to screen.
**** "File changed" indicator '*' *****
The indicator has been removed.
**** Run menu improved ****
When you "run" your menu, the menu item executed
will be scrolled to and highlighted in the menu listbox.
**** Enabled or Grayed radio button ****
This feature is for easy Windows porting.
**** Status bars ****
This feature has not been implemented as yet.
File extensions used by MenuCase:
*.TV1 File containing all information pertaining to a menu and
its related commands.
*.CM Menu command include file. You create a list of command constants
and the include file for your app is automatically created when you
save the menu file.
*.HC Menu hcContext constants created and saved the same as *.CM
*.SCM Actual Turbo Vision pascal source code created by your menu tree.
*.RC Windows 3.1 resource text file.
Notes:
Pressing ENTER while in an input field of the menu creation dialog will
make your changes visible in the menu tree.
The COPY, CUT & PASTE commands only apply to menu items. When you
insert an item it will be inserted below the focused item. Deleting a
menu popup will delete all items in its group. The paste buffer only
contains your last copy or cut.
COMMMAND CONSTANT DIALOGS:
You can maintain a list of your menu commands and hccontext constants
using the menu options under INCLUDE FILES from the main menu bar.
To transfer a constant from a constant listbox to a menu item inputline
do the following:
Click on the menu data listbox with the mouse to move the
desired menu information to the inputlines. Open or click on the
constant dialog listbox with the mouse or press F6 to cycle through the
dialogs. Make the desired constant list item the focused item. Then
press ENTER or mouse click on the SELECT button to transfer the
information to the menu data dialog. Then click on the main
menu data dialog and locate the cursor in any of the inputlines and
press ENTER to make the change effective. Don't press ENTER if the
inputline you select is highlighted because you will delete the
contents of the inputline - press the END key or a cursor direction key
to unhighlight the inputline, then press enter. A constant listbox will
transfer its information to the appropriate inputline.
GENERAL INSTRUCTIONS:
After entering data into an inputline, press enter to "keep"
the information. If you tab to the next field without pressing
enter your new information will not be retained. This is different
from Version 0.0, but was necessary to implement the "live" action
of the menu data listbox.
I have supplied a few sample menus and a tvshell application so you
can test them. If you find any bugs or have any suggestions for
future versions, please write me at the above address.